package com.acme.homemonitoring;

/**
 * exercise 1: find a way to wire up a mock Siren class
 * Dummy Siren in use
 */

public class MainWithDummySiren
{
	public static void main(String args[])
	{
		
		IntruderDetector detector = new IntruderDetector(DummySiren.getInstance());
		detector.addRoom(new Room(detector, "Lounge room", 3, new NormalLight("Lounge room"),new NormalSensor(new NormalLight("Lounge room"))));
		detector.addRoom(new Room(detector, "Study", 1, new NormalLight("Study"),new NormalSensor(new NormalLight("Study"))));
		detector.report();
	}	
}
